@charset "UTF-8";

/**
 * @link https://www.kancloud.cn/cleverstone/ymb2
 * @copyright Copyright (c) 2020 Yii Manager Software LLC
 */

.ym-spinner-mask {
    position: fixed;
    z-index: 9999999998;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0;
    filter: alpha(opacity=0);
    pointer-events: auto;
}

.ym-spinner-container {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 100px;
    z-index: 9999999999;
    -webkit-user-select: none;
    user-select: none;
}

.ym-spinner-inner {
    width: 100%;
    height: 100%;
    position: relative;
    right: 90px;
    bottom: 50px;
    padding: 15px;
    border-radius: 4px;
    background-color: transparent;
    zoom: 1;

    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: .3s;
    animation-duration: .3s;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.ym-spinner-inner:after {
    display: block;
    clear: both;
    content: " ";
    visibility: hidden;
    height: 0;
}

.spinner-bounce-in .spinner-dialog {
    -webkit-animation-name: ym-bounce-in;
    animation-name: ym-bounce-in;
}

.spinner-bounce-close .spinner-dialog {
    -webkit-animation-name: ym-bounce-out;
    animation-name: ym-bounce-out;
}

.ym-spinner-inner-left {
    float: left;
    width: 30px;
    height: 30px;
}

.ym-spinner-inner-right {
    float: right;
    margin: 0;
    color: var(--primary-color);
    font-size: 12px;
    line-height: 35px;
    text-align: center;

    /* 新增 */
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes ym-bounce-in {
    0% {
        opacity: 0;
        -webkit-transform: scale(.5);
        -ms-transform: scale(.5);
        transform: scale(.5);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes ym-bounce-out {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(.5);
        -ms-transform: scale(.5);
        transform: scale(.5);
    }
}

@keyframes antSpinMove {
    to {
        opacity: 1;
    }
}

@keyframes antRotate {
    to {
        transform: rotate(1turn);
    }
}

.s-spindot {
    --ui-spin-dot-size-sm: 14px;
    --ui-spin-dot-size: 20px;
    /*--ui-spin-dot-size-lg: 32px;*/
    --ui-spin-dot-size-lg: 30px;
    max-width: 100%;
    width: fit-content;
    height: fit-content;
}

.s-spindot .s-spin {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-variant: tabular-nums;
    line-height: 1.57142857;
    list-style: none;
    font-feature-settings: "tnum";
    position: absolute;
    display: none;
    color: #18a058;
    color: var(--primary-color);
    text-align: center;
    vertical-align: middle;
    opacity: 0;
    transition: transform .3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
}

.s-spindot .s-spin .s-spin-dot {
    position: relative;
    display: block;
    font-size: var(--ui-spin-dot-size);
    width: 1em;
    height: 1em;
}

.s-spindot .s-spin .s-spin-dot-item {
    position: absolute;
    display: block;
    width: 9px;
    height: 9px;
    background-color: #18a058;
    background-color: var(--primary-color);
    border-radius: 100%;
    transform: scale(0.75);
    transform-origin: 50% 50%;
    opacity: .3;
    animation: antSpinMove 1s linear infinite alternate;
}

.s-spindot .s-spin .s-spin-dot-item:first-child {
    top: 0;
    left: 0;
}

.s-spindot .s-spin .s-spin-dot-item:nth-child(2) {
    top: 0;
    right: 0;
    animation-delay: .4s;
}

.s-spindot .s-spin .s-spin-dot-item:nth-child(3) {
    right: 0;
    bottom: 0;
    animation-delay: .8s;
}

.s-spindot .s-spin .s-spin-dot-item:nth-child(4) {
    bottom: 0;
    left: 0;
    animation-delay: 1.2s;
}

.s-spindot .s-spin .s-spin-dot-spin {
    transform: rotate(0deg);
    animation: antRotate 1.2s linear infinite;
}

.s-spindot .s-spin-lg .s-spin-dot {
    font-size: var(--ui-spin-dot-size-lg);
}

.s-spindot .s-spin-lg .s-spin-dot i {
    /*width: 14px;*/
    width: 13px;
    /*height: 14px;*/
    height: 13px;
}

.s-spindot .s-spin-sm .s-spin-dot {
    font-size: var(--ui-spin-dot-size-sm);
}

.s-spindot .s-spin-sm .s-spin-dot i {
    width: 6px;
    height: 6px;
}

.s-spindot .s-spin-spinning {
    position: static;
    display: block;
    opacity: 1;
}
